{template 'member', 'header'}
<div id="main-content">
<div id="memberArea">
{template 'member', 'left'}
<script type="text/javascript">
	function get_view(hitsid, id){
	
		$.post("index.php?m=content&c=lists&a=get_view", {
		id :id,
		hitsid :hitsid
		}, function(data) {
			$('#hit'+data.id).html(data.views);
			return false;
		}, "json");
	}
</script>
	  <div class="right">
<div class="hd">
  <h3 class="t05"><strong>打折公告</strong> >><a href="#">管理打折公告</a></h3>
</div>
<div class="bd01"><font class="span05"><img src="{CSS_PATH}images/h_02.gif" />1.排序用于在公司展示平台案例排序；排序数值越大的案例越靠前<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.排序用于在公司展示平台案例排序；排序数值越大的案例越靠前</font>

  
</div>


<div class="hd02">
<ul>
<li><a href="{APP_PATH}index.php?m=member&c=content&a=published&catid=15" class="hover">管理打折公告</a></li>
<li><a href="{APP_PATH}index.php?m=member&c=content&a=publish&siteid=1&catid=15">发布打折公告</a></li></ul>
</div>	
	<table class="table01">
       <thead>
        <tr>
		     <th class="th02" style="width:32%;">标题</th>
    <th class="th02" style="width:10%;">类型</th>
    <th class="th02" style="width:10%;">点击</th>
	<th class="th02" style="width:10%;">状态</th>
	<th class="th02" style="width:16%;">时间</th>
	<th class="th02" style="width:22%;">操作</th>
  		</tr>
        </thead>
    <tbody>
	{loop $datas $info} 
	 <tr>
    <td>{str_cut($info['title'], 60)}</td>
	<td style=" text-align:center;">{get_linkagevalue(3458,$info[type],'name')}</td>
    <td style="text-align:center;"><span id="hit{$info[id]}"></span><script>get_view("c-{$modelid}-{$info[id]}",{$info[id]})</script></td>
    <td style="text-align:center;"><font color="#009900">{if $info[status]==99}{L('pass')}{elseif !$info[flag]}{L('verify_content')}{else}<a href="index.php?m=member&c=content&a=edit&catid={$info[catid]}&id={$info[id]}"><font color="red">{L('edit')}</font></a>{/if}</font></td>
	<td style="text-align:center;"><font color="#666666">{date('Y-m-d H:i',$info[inputtime])}</td>
	<td style="text-align:center;"><a target="_blank" href="{$info[url]}" class="color13" style="margin:auto 6px;">查看详细</a>
	 {if $info[status]!=99}|&nbsp; <a href="index.php?m=member&c=content&a=edit&catid={$info[catid]}&id={$info[id]}">修改</a>{/if}
	</td>
  </tr>
	{/loop}
    </tbody>
    </table>
 <div id="pages"> {$pages}</div>
			</div>
			<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
		</div>
	</div>
<div class="clear"></div>
<script language="JavaScript">
<!--
	function c_c(catid) {
		location.href='index.php?m=member&c=content&a=published&siteid={$siteid}&catid='+catid;
	}
//-->
</script>
